Dispose Method

Task Parallel System.Threading

Releases the resources used by this ThreadLocal<(Of <(T>)>) instance.

Namespace:  System.Threading
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Sub Dispose
C#
public void Dispose()

Implements

IDisposable..::.Dispose()()()

Remarks

Unlike most of the members of ThreadLocal<(Of <(T>)>), this method is not thread-safe.

See Also